﻿@model PeopleSource.Entities.Resume
<fieldset>
    <legend>简历信息</legend>@*<div class="info">
        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
    </div>
    <div class="info">
        <div class="editor-label">
            @Html.LabelFor(model => model.Mobile)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Mobile)
            @Html.ValidationMessageFor(model => model.Mobile)
        </div>
    </div>
    <div class="info_r">
        <div class="editor-label">
            @Html.LabelFor(model => model.Hometown)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Hometown)
            @Html.ValidationMessageFor(model => model.Hometown)
        </div>
    </div>
    <div class="info">
        <div class="editor-label">
            @Html.LabelFor(model => model.College)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.College)
            @Html.ValidationMessageFor(model => model.College)
        </div>
    </div>
    <div class="info">
        <div class="editor-label">
            @Html.LabelFor(model => model.Degree)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Degree)
            @Html.ValidationMessageFor(model => model.Degree)
        </div>
    </div>
    <div class="info_r">
        <div class="editor-label">
            @Html.LabelFor(model => model.Profession)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Profession)
            @Html.ValidationMessageFor(model => model.Profession)
        </div>
    </div>
    <div class="info">
        <div class="editor-label">
            @Html.LabelFor(model => model.JobTitleID)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.JobTitleID, new SelectList(PeopleSource.Utl.CH.GetAllDatas<PeopleSource.Entities.JobTitle>(), "ID", "JobTitleName"), "-请选择-", new { style = "width:202px;" })
            @Html.ValidationMessageFor(model => model.JobTitleID)
        </div>
    </div>
    <div class="info">
        <div class="editor-label">
            @Html.LabelFor(model => model.InterviewStateID)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.InterviewStateID, new SelectList(PeopleSource.Utl.CH.GetAllDatas<PeopleSource.Entities.InterviewState>(), "ID", "InterviewStateName"), "-请选择-", new { style = "width:202px;" })
            @Html.ValidationMessageFor(model => model.InterviewStateID)
        </div>
    </div>
    <div class="info_r">
        <div class="editor-label">
            @Html.LabelFor(model => model.ResumeTypeID)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.ResumeTypeID, new SelectList(PeopleSource.Utl.CH.GetAllDatas<PeopleSource.Entities.ResumeType>(), "ID", "ResumeTypeName"), "-请选择-", new { style = "width:202px;" })
            @Html.ValidationMessageFor(model => model.ResumeTypeID)
        </div>
    </div>
    <div class="info">
        <div class="editor-label">
            @Html.LabelFor(model => model.PeopleID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PeopleID)
            @Html.ValidationMessageFor(model => model.PeopleID)
        </div>
    </div>
    <div class="info_r">
        <div class="editor-label">
            @Html.LabelFor(model => model.BirthDay)
        </div>
        <div class="editor-field">
            @Html.Telerik().DatePickerFor(model => model.BirthDay)
            @Html.ValidationMessageFor(model => model.BirthDay)
        </div>
    </div>
    <div class="info">
        <div class="editor-label">
            @Html.LabelFor(model => model.ExpectSalary)
        </div>
        <div class="editor-field">
            @Html.Telerik().CurrencyTextBoxFor(model => model.ExpectSalary)
            @Html.ValidationMessageFor(model => model.ExpectSalary)
        </div>
    </div>
    <div class="info">
        <div class="editor-label">
            @Html.LabelFor(model => model.Address)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Address)
            @Html.ValidationMessageFor(model => model.Address)
        </div>
    </div>
    <div class="info_all">
        <div class="info">
            <div class="left">
                <div class="editor-label">
                    @Html.LabelFor(model => model.IsPeerCompany)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.IsPeerCompany)
                    @Html.ValidationMessageFor(model => model.IsPeerCompany)
                </div>
            </div>
            <div class="left" style="margin-left: 46px;">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Gender)
                </div>
                <div class="editor-field">
                    @Html.DropDownListFor(model => model.Gender, new SelectList(new List<string>() { "Male", "Female" }), "-请选择-")
                    @Html.ValidationMessageFor(model => model.Gender)
                </div>
            </div>
        </div>
        <div class="info">
            <div class="editor-label">
                @Html.LabelFor(model => model.Sequence)
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.Sequence)
                @Html.ValidationMessageFor(model => model.Sequence)
            </div>
        </div>
    </div>*@
    <div class="group">
        <div class="gtoup_title">
            个人信息</div>
        <div class="info_all">
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Name)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Name)
                    @Html.ValidationMessageFor(model => model.Name)
                </div>
            </div>
            <div class="info">
                <div class="left">
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Gender)
                    </div>
                    <div class="editor-field">
                        @Html.DropDownListFor(model => model.Gender, new SelectList(new List<string>() { "男", "女" }), "-请选择-", new { style = "width:202px;" })
                        @Html.ValidationMessageFor(model => model.Gender)
                    </div>
                </div>
            </div>
            <div class="info_r">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Mobile)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Mobile)
                    @Html.ValidationMessageFor(model => model.Mobile)
                </div>
            </div>
        </div>
        <div class="info_all">
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Hometown)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Hometown)
                    @Html.ValidationMessageFor(model => model.Hometown)
                </div>
            </div>
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.PeopleID)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.PeopleID)
                    @Html.ValidationMessageFor(model => model.PeopleID)
                </div>
            </div>
            <div class="info_r">
                <div class="editor-label">
                    @Html.LabelFor(model => model.BirthDay)
                </div>
                <div class="editor-field">
                    @Html.Telerik().DatePickerFor(model => model.BirthDay)
                    @Html.ValidationMessageFor(model => model.BirthDay)
                </div>
            </div>
        </div>
        <div class="info_all">
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Address)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Address)
                    @Html.ValidationMessageFor(model => model.Address)
                </div>
            </div>
             <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Email)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Email)
                    @Html.ValidationMessageFor(model => model.Email)
                </div>
            </div>

            <div class="info_r">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Sequence)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Sequence)
                    @Html.ValidationMessageFor(model => model.Sequence)
                </div>
            </div>
        </div>
        <div class="gtoup_title">
            教育背景</div>
        <div class="info_all">
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.College)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.College)
                    @Html.ValidationMessageFor(model => model.College)
                </div>
            </div>
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Degree)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Degree)
                    @Html.ValidationMessageFor(model => model.Degree)
                </div>
            </div>
            <div class="info_r">
                <div class="editor-label">
                    @Html.LabelFor(model => model.Profession)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Profession)
                    @Html.ValidationMessageFor(model => model.Profession)
                </div>
            </div>
        </div>
        <div class="info_all">
            <div class="editor-label">
                @Html.LabelFor(model => model.EducationBackground)
            </div>
            <div class="editor-field">
                @Html.TextAreaFor(model => model.EducationBackground, new { style = "width:674px; min-height:60px" })
                @Html.ValidationMessageFor(model => model.EducationBackground)
            </div>
        </div>
        <div class="gtoup_title">
            工作背景</div>
        <div class="info_all">
            <div class="editor-label">
                @Html.LabelFor(model => model.EmployeeBackground)
            </div>
            <div class="editor-field">
                @Html.TextAreaFor(model => model.EmployeeBackground, new { style = "width:674px; min-height:60px" })
                @Html.ValidationMessageFor(model => model.EmployeeBackground)
            </div>
        </div>
        @Html.HiddenFor(model => model.ID)
        <div class="gtoup_title">
            面试信息</div>
        <div class="info_all">
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.ResumeUniqueID)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.ResumeUniqueID)
                    @Html.ValidationMessageFor(model => model.ResumeUniqueID)
                </div>
            </div>
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.ExpectSalary)
                </div>
                <div class="editor-field">
                    @Html.Telerik().CurrencyTextBoxFor(model => model.ExpectSalary)
                    @Html.ValidationMessageFor(model => model.ExpectSalary)
                </div>
            </div>
            <div class="info_r">
                <div class="editor-label">
                    @Html.LabelFor(model => model.IsPeerCompany)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.IsPeerCompany)
                    @Html.ValidationMessageFor(model => model.IsPeerCompany)
                </div>
            </div>
        </div>
        <div class="info_all">
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.JobTitleID)
                </div>
                <div class="editor-field">
                    @Html.DropDownListFor(model => model.JobTitleID, new SelectList(PeopleSource.Utl.CH.GetAllDatas<PeopleSource.Entities.JobTitle>(), "ID", "JobTitleName"), "-请选择-", new { style = "width:202px;" })
                    @Html.ValidationMessageFor(model => model.JobTitleID)
                </div>
            </div>
            <div class="info">
                <div class="editor-label">
                    @Html.LabelFor(model => model.InterviewStateID)
                </div>
                <div class="editor-field">
                    @Html.DropDownListFor(model => model.InterviewStateID, new SelectList(PeopleSource.Utl.CH.GetAllDatas<PeopleSource.Entities.InterviewState>(), "ID", "InterviewStateName"), "-请选择-", new { style = "width:202px;" })
                    @Html.ValidationMessageFor(model => model.InterviewStateID)
                </div>
            </div>
            <div class="info_r">
                <div class="editor-label">
                    @Html.LabelFor(model => model.ResumeTypeID)
                </div>
                <div class="editor-field">
                    @Html.DropDownListFor(model => model.ResumeTypeID, new SelectList(PeopleSource.Utl.CH.GetAllDatas<PeopleSource.Entities.ResumeType>(), "ID", "ResumeTypeName"), "-请选择-", new { style = "width:202px;" })
                    @Html.ValidationMessageFor(model => model.ResumeTypeID)
                </div>
            </div>
        </div>
        <div class="info_all">
            <div class="editor-label">
                @Html.LabelFor(model => model.Interviews)
            </div>
            <div class="editor-field">
                @Html.TextAreaFor(model => model.Interviews, new { style = "width:674px; min-height:60px" })
                @Html.ValidationMessageFor(model => model.Interviews)
            </div>
        </div>
        <div class="info_all">
            <div class="editor-label">
                @Html.LabelFor(model => model.Description)
            </div>
            <div class="editor-field">
                @Html.TextAreaFor(model => model.Description, new { style = "width:674px; min-height:60px" })
                @Html.ValidationMessageFor(model => model.Description)
            </div>
        </div>
    </div>
</fieldset>
<style>
    #ResumePopUp
    {
        width: 730px;
    }
    .group
    {
        width: 682px;
    }
    .gtoup_title
    {
        width: 672px;
        height: 30px;
        background: #92b8d9;
        color: #000;
        font-size: 14px;
        line-height: 30px;
        font-weight: bold;
        font-family: Microsoft yaHei;
        margin-top: 5px;
        margin-bottom: 5px;
        padding-left:10px;
    }
    .info
    {
        float: left;
        width: 240px;
    }
    .info_r
    {
        float: left;
        width: 200px;
    }
    .left
    {
        float: left;
    }
    
    .info_all
    {
        display: inline-block;
    }
    
    .t-picker-wrap
    {
        width: 177px;
    }
    #IsPeerCompany
    {
        width: 202px;
    }
    .editor-label
    {
        margin:0 0 0 0;
    }
</style>
